<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title><?php echo C('TITLE');?></title>
	<meta name="keywords" content="<?php echo C('KEYWORD');?>" />
	<meta name="description" content="<?php echo C('DESCRIPTION');?>" />
	<link href="/Public/skin/css/css.css" rel="stylesheet" type="text/css" />
	<link href="/Public/skin/css/lrtk.css" rel="stylesheet" type="text/css" />
	<script src="/Public/skin/js/jquery-1.11.1.min.js" type="text/javascript"></script>
	<script src="/Public/skin/js/jquery-1.8.3.min.js"></script>
	<script type="text/javascript" src="/Public/skin/js/lrtk.js"></script>
</head>

<body>
    <!--nav 开始-->
	<div id="header">
    <a class="logo" href="/">
        <img src="/Public/skin/images/logo.jpg" />
    </a>
    <ul class="nav">
        <li>
            <a <?php if($nav_active == 'index'): ?>class="now"<?php endif; ?> href="/">首页</a>
        </li>
        <li>
            <a <?php if($nav_active == 'rank'): ?>class="now"<?php endif; ?> href="<?php echo U('rank/index');?>">赛事排名</a>
        </li>
        <li>
            <a <?php if($nav_active == 'join'): ?>class="now"<?php endif; ?> href="<?php echo U('join/index');?>">招商加盟</a>
        </li>
        <li>
            <a <?php if($nav_active == 'communicate'): ?>class="now"<?php endif; ?> href="<?php echo U('communicate/index');?>">交流吧</a>
        </li>
        <li>
            <a <?php if($nav_active == 'joinus'): ?>class="now"<?php endif; ?> href="<?php echo U('joinus/index');?>">加入我们</a>
        </li>
    </ul>
    <ul class="login">
        <?php if($_SESSION['user']['id'] == ''): ?><li class="l">
                <a href="<?php echo U('login/index');?>">
                    <img src="/Public/skin/images/user.jpg" />登录</a>
            </li>
            <li class="r">
                <a href="<?php echo U('register/index');?>">免费注册</a>
            </li>
        <?php else: ?>
            <li class="l">
                <a href="<?php echo U('user/index');?>">
                    <img src="/Public/skin/images/user.jpg" /><?php echo ($_SESSION['user']['nicename']); ?></a>
            </li>
            <li class="r">
                <a href="<?php echo U('user/loginout');?>">退出</a>
            </li><?php endif; ?>
    </ul>
    <div class="clear"></div>
</div>
    <!--nav 结束-->

    <div id="loginbox">
        <div class="box">
            <img class="l" src="/Public/skin/images/login.jpg" />
            <div class="r">
                <form>
                <div class="b">
                    <h1>欢迎登录探王猎头</h1>
                    <ul>
                        <li class="input">
                            <i class="icon1"></i>
                            <input type="text" placeholder="用户名" name="name" id="name" />
                        </li>
                        <li class="input">
                            <i class="icon2"></i>
                            <input type="password" placeholder="" name="password" id="password" />
                        </li>
                        <li>
                            <a class="log submit" href="javascript:void(0);">登录</a>
                            <a class="reg" href="<?php echo U('register/index');?>">免费注册</a>
                        </li>
                    </ul>
                    <div class="clear"></div>
                    <p>登录遇到障碍请拨打：0755-12312344</p>
                </div>
                </form>
            </div>
            <div class="clear"></div>
        </div>
    </div>
    
    <!--footer 开始-->
<div id="footer" class="clearfix">
    <div class="clt2">
        <img src="/Public/skin/images/gzh.png" />
        <p>更多信息请关注公众号</p>
    </div>
    <div class="clt">
        <center style="font-size: 14px; color: red; line-height: 20px;">友情链接</center>
        <center class="yqlj-pic"><a href="http://www.hexun.com/" target="_blank"><img src="/Public/skin/images/hx_logo.png"></a></center>
        <p>Copyright © 2010-2017 深圳市森鹏猎头有限公司版权所有 </p>
        <p>备案：粤ICP备17133948号</p>
    </div>
    <div class="crt">
        <img src="/Public/skin/images/awm.jpg" />
    </div>
</div>
<!--footer 结束-->

<script src="https://s22.cnzz.com/z_stat.php?id=1271355534&web_id=1271355534" language="JavaScript"></script>

    <script type="text/javascript" src="/Public/javascripts/admin/jquery-1.7.2.min.js"></script>
    <script type="text/javascript" src="/Public/javascripts/admin/jquery.form.js"></script>
    <script type="text/javascript" src="/Public/skin/layer/layer.js"></script>
    <script type="text/javascript" src="/Public/skin/functions.js"></script>
    <script type="text/javascript">
        $(function () {
            // 登录
            $(".submit").click(function () {
                if ($("#name").val() == ''
                    || $("#password").val() == '') {
                    layer.alert('请填写完整的表单后进行登录！', { icon: 2,closeBtn: 0 });
                    return false;
                }
                commonAjaxSubmit("<?php echo U('Login/login_chk');?>");
            });
        });
    </script>
</body>

</html>